﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static SingleUserMall.Authorization.Users.User;

namespace SingleUserMall.Adverts.Form
{
    [AutoMapTo(typeof(Advert))]
    public class AdvertForm : EntityDto<long>
    {
        /// <summary>
        /// 视频名称
        /// </summary>
        [Required, MaxLength(50)]
        public string Name { get; set; }
        /// <summary>
        /// 视频内容
        /// </summary>
        [Required]
        public string Content { get; set; }
        /// <summary>
        /// 视频针对性别
        /// </summary>
        public string AdvertSex { get; set; }
        /// <summary>
        /// 视频针对年龄
        /// </summary>
        public string AdvertAge { get; set; }
        /// <summary>
        /// 视频针对收入高低
        /// </summary>
        public UserIncomeStatus AdvertIncome { get; set; }
        /// <summary>
        /// 观看视频红包金额
        /// </summary>
        public decimal RedPacketAmount { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsUse { get; set; }
    }
}
